<@p.page>

<script type="text/javascript">   
    function changeValidateCode(obj) {   
        var currentTime= new Date().getTime();   
        obj.src = "rand.action?d=" + currentTime;   
    }   
</script>   

<table width="100%" height="100%">
<tr>
	<td valign="middle">
		<form action="login.action" name="loginForm" onsubmit="return validateForm(this)" method="post">
		<table border="0" align="center" cellpadding="0" cellspacing="0" class="default">
		<tr class="title">
			<td colspan="2">系统登录</td>
		</td>
		<tr>
			<td colspan="2" class="errorMessage" align="center"><#if errorInfo?exists>${errorInfo}</#if></td>
		</tr>
		<tr>
		  <td class="item" align="right" width="40%">用户名:</td>
		  <td><input type="text" name="userName" style="width:100px" emptyInfo="请输入用户名。" value="${userName?if_exists}"></td>
		</tr>
		<tr>
		  <td class="item" align="right">密　码:</td>
		  <td><input type="password" name="password" style="width:100px" emptyInfo="请输入密码。"></td>
		</tr>
		<tr>
			<td class="item" align="right">验证码:</td>
			<td><input type="text" name="" style="width:100px" emptyInfo="请输入验证码。"/>&nbsp;&nbsp;<img src="rand.action"  width="50" height="20" onclick="changeValidateCode(this)"/></td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="登录" class="btn">&nbsp;&nbsp;
				<input type="reset" value="重置" class="btn">
			</td>
		</tr>
		</table>
		</form>
	</td>
</tr>
</table>
</@p.page>